<?php
namespace Admin\Model;
use Think\Model;
class LinksModel extends Model {
    protected $_validate = array(
        array('name','require','帐号名称已经存在！',3,'unique'),
        array('url','url','值的范围不正确！',3),
        array('logo','url','确认密码不正确',3),
        array('ischeck',array(0,1),'值不在范围内',3,'in'),
        array('created','int','必须是数字',3),
        array('sort','int','排序必选是数值',3),
    );
}
